<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="db" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>新闻发布系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb18030" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="Keywords" content="关键字" />
<meta name="Description" content="描述" />
<link rel="stylesheet" href="Style/Main.css" type="text/css" media="screen, projection"/>
</head>
<body>
<div id="wrapper">
	<div id="header">
		<div id="logo"><a href="index.jsp" title="新闻发布系统">新闻发布系统</a></div>
		<!--[if !IE]>logo 结束<![endif]-->
		<div class="button">
				<a href="/News/Manager/Login.jsp">
				<input type="submit" name="Submit" class="btn" value="管理员登录" /></a>
		</div>
		<div class="search">
			<form id="form1" method="post" action="search.htm">
				<input type="text" name="textfield" id="textfield" class="iText" />
				<select name="select">
					<option selected="selected">标题</option>
					<option>内容</option>
				</select>
				<input type="submit" name="Submit" class="btn" value="搜索" />
			</form>
		</div>
		<!--[if !IE]>search 结束<![endif]-->
	</div>
	<!--[if !IE]>header 结束<![endif]-->
	
	<div id="main" class="wrapfix">
		<div id="mostlyCon">
			<div class="newslist">
				<div class="hd"><h3>新闻头条</h3></div>
				<div class="bd">
					<ul class="list">
						<li><span class="category">[军事类别]</span><a href="info.jsp" target="_blank">国学大师季羡林在京病逝 享年98岁</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[娱乐类别]</span><a href="info.jsp" target="_blank">中国旅行团在慕尼黑遭"东突"围攻</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[军事类别]</span><a href="info.jsp" target="_blank">姚安地震205万人受灾 补偿与汶川相同</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[科技类别]</span><a href="info.jsp" target="_blank">杭州机关公车改补贴被指变相加薪</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[科技类别]</span><a href="info.jsp" target="_blank">中国建筑收到IPO批文 将融资426亿</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国际类别]</span><a href="info.jsp" target="_blank">罗京孙红雷陈好等获"德艺双馨"称号</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国际类别]</span><a href="info.jsp" target="_blank">北大清华在京录取结束 双双扩招20%</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国内类别]</span><a href="info.jsp" target="_blank">上海"居住证转户籍"启动网络受理</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[科技类别]</span><a href="info.jsp" target="_blank">最高法:职务犯罪减刑假释须公开听证</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[军事类别]</span><a href="info.jsp" target="_blank">香港援建云南大姚小学校舍地震中完好无损</a><span class="date">2009-07-25</span></li>
						
				</div>
			</div>
			<!--[if !IE]>newslist 结束<![endif]-->
			<div class="newslist">
				<div class="hd"><h3>热点新闻</h3></div>
				<div class="bd">
					<ul class="list">
						<li><span class="category">[娱乐类别]</span><a href="info.jsp" target="_blank">国学大师季羡林在京病逝 享年98岁</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国际类别]</span><a href="info.jsp" target="_blank">中国旅行团在慕尼黑遭"东突"围攻</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国内类别]</span><a href="info.jsp" target="_blank">姚安地震205万人受灾 补偿与汶川相同</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[军事类别]</span><a href="info.jsp" target="_blank">杭州机关公车改补贴被指变相加薪</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国内类别]</span><a href="info.jsp" target="_blank">中国建筑收到IPO批文 将融资426亿</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[娱乐类别]</span><a href="info.jsp" target="_blank">罗京孙红雷陈好等获"德艺双馨"称号</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[科技类别]</span><a href="info.jsp" target="_blank">北大清华在京录取结束 双双扩招20%</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[科技类别]</span><a href="info.jsp" target="_blank">上海"居住证转户籍"启动网络受理</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国内类别]</span><a href="info.jsp" target="_blank">最高法:职务犯罪减刑假释须公开听证</a><span class="date">2009-07-25</span></li>
						<li><span class="category">[国际类别]</span><a href="info.jsp" target="_blank">香港援建云南大姚小学校舍地震中完好无损</a><span class="date">2009-07-25</span></li>
					</ul>
				</div>
			</div>
			<!--[if !IE]>newslist 结束<![endif]-->
		</div>
		<!--[if !IE]>mostlyCon 结束<![endif]-->
	<%
	Typess type = new Typess();
	List<Types> typelist = type.ListTypes();
	request.setAttribute("typelist", typelist);
	%>
		<div id="sideCon">
			<div id="nav">
				<h3>新闻类别</h3>
				<ul>
				<%
				List<Types> list=request.getAttribute("list");
					for(Typess type : typelist){
					
				%>				
					<li><a href="junsi.jsp"+<%=type.getId %>><%=getName %></a></li>
				<%} %>
				</ul>
			</div>
		</div>
		<!--[if !IE]>sideCon 结束<![endif]-->
	</div>
	<!--[if !IE]>main 结束<![endif]-->
	<div id="footer">
		<p>版权所有 &copy;<a href="http://www.cnstrong.com.cn/" target="_blank">山东师创软件工程有限公司 </a></p>
	</div>
	<!--[if !IE]>main 结束<![endif]-->
</div>
</body>
</html>